package com.sutong.platform.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sutong.platform.model.dto.interfaceparam.InterfaceParamQueryRequest;
import com.sutong.platform.model.entity.InterfaceParam;
import com.sutong.platform.model.vo.InterfaceParamVo;

import java.util.List;

/**
 * @author sutong
 * @description 接口参数响应信息Service
 */
public interface InterfaceParamService extends IService<InterfaceParam> {

    Wrapper<InterfaceParam> getQueryWrapper(InterfaceParamQueryRequest interfaceParamQueryRequest);

    Page<InterfaceParamVo> pageWithChildren(InterfaceParamQueryRequest interfaceParamQueryRequest);

    List<InterfaceParamVo> listWithTree(long interfaceInfoId, int type);
}
